<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"></meta>
    <title>首页--layui后台管理模板</title>
    <meta HTTP-EQUIV="Pragma" CONTENT="no-cache"></meta>
    <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache"></meta>
    <meta HTTP-EQUIV="Expires" CONTENT="0"></meta>
    <link rel="stylesheet"  th:href="@{/static/layui/css/layui.css}"     media="all"> </link>
    <link rel="stylesheet"  th:href="@{/static/css/font_eolqem241z66flxr.css}"  media="all"> </link>
    <link rel="stylesheet"  th:href="@{/static/css/main.css}"  media="all"> </link>
</head>
<body class="childrenBody">
<div class="row">
    <div class="sysNotice col" style="width: 33%">
        <blockquote class="layui-elem-quote title"><strong>角色全部菜单</strong></blockquote>
        <ul id="demo"></ul>
    </div>
    <div class="sysNotice col" style="width: 33%">
    <blockquote class="layui-elem-quote title"><strong>角色已拥有菜单</strong></blockquote>
    <ul id="demo1"></ul>
    </div>
    <div class="sysNotice col" style="width: 34%">
        <blockquote class="layui-elem-quote title"><strong>角色未拥有的菜单</strong>
            <div class="layui-inline">
                <a class="layui-btn layui-btn-normal allot_Menu" >分配菜单</a>
            </div>
        </blockquote>
        <div class="layui-form news_list">
            <form name="insertUrlid" id="insertUrlid">
               <input  type="hidden" name="roleid" th:value="${roleid}"/>
                <table class="layui-table">
                    <colgroup>
                        <col width="50"></col>
                    </colgroup>
                    <thead>
                    <tr>
                        <th><input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose" id="allChoose"></input></th>
                        <th>菜单id</th>
                        <th>菜单名称</th>
                        <th>菜单路径</th>
                        <th>父菜单id</th>
                    </tr>
                    </thead>
                    <tbody class="news_content1">
                    <tr th:each="url : ${list}">
                        <td>
                            <input name="checked" type="checkbox" lay-skin="primary" lay-filter="choose" th:value="${url.urlid}"></input>
                            <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                                <i class="layui-icon"></i>
                            </div>
                        </td>
                        <td th:text="${url.urlid}"></td>
                        <td th:text="${url.title}"></td>
                        <td th:text="${url.href}"></td>
                        <td th:text="${url.pid}"></td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </div>
</div>
<script type="text/javascript"  th:src="@{/static/layui/layui.js}" ></script>
<script type="text/javascript" th:src="@{/static/js/haveNotMenu.js}"  ></script>
</body>
</html>